<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
            <thead>
            <tr>
                <td style="width: 1px;" class="text-center">
                <!--
                    <input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);">
                -->    
                </td>                
                <td class="text-right">
                    <a href="javascript:sort('id');">ID</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('goods_name');">商品名称</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('create_time');">领取时间</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('goods_id');">领取人ID</a>
                </td>

                <td class="text-left">
                    <a href="javascript:sort('real_name');">配送员ID</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('real_name');">真实姓名</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('real_name');">手机号码</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('address');">地址</a>
                </td>
                <td class="text-left">
                    <a href="javascript:sort('status');">订单状态</a>
                </td>
                <td class="text-right">操作</td>
            </tr>
            </thead>
            <tbody>
            <volist name="goodsList" id="list">
                <tr>
                    <td class="text-center">
                       <!-- <input type="checkbox" name="selected[]" value="6">-->
                        <input type="hidden" name="shipping_code[]" value="flat.flat">
                    </td>
                    <td class="text-right">{$list.id}</td>
                    <td class="text-left">{$list.goods_name|getSubstr=0,33}</td>
                    <td class="text-left">{:date('Y-m-d H:i:s',$list['create_time'])}</td>
                    <td class="text-left">{$list.user_id}</td>
                    <td class="text-left">{$list.send_user_id}</td>
                    <td class="text-left">{$list.real_name}</td>
                    <td class="text-left">{$list.mobile}</td>
                    <!--<td class="text-left">{$list.shop_price}</td>-->
                    <td class="text-left">{$list.address}</td>
                    <eq name="list.status" value="0">
                    <td class="text-left">未设置配送员</td>
                    </eq>
                    <eq name="list.status" value="1">
                        <td class="text-left">未开始配送</td>
                    </eq>
                    <eq name="list.status" value="3">
                        <td class="text-left">配送中</td>
                    </eq>
                    <eq name="list.status" value="2">
                        <td class="text-left">已送达</td>
                    </eq>
                    <eq name="list.status" value="4">
                        <td class="text-left">已作废</td>
                    </eq>
                    <td class="text-right">
                        <a   href="{:U('Admin/Order/setOrderSendUserUI',array('id'=>$list['id']))}" class="btn btn-info" title="设置配送员"><i class="fa fa-eye"></i></a>
<!--                        <a  target="_blank" href="{:U('Admin/Order/addOrderManyUI',array('id'=>$list['goods_id']))}" class="btn btn-info" title="添加评价"><i class="fa fa-eye"></i></a>
                        <a href="{:U('Admin/Goods/addEditGoods',array('id'=>$list['goods_id']))}" class="btn btn-primary" title="编辑"><i class="fa fa-pencil"></i></a>
                        <a href="javascript:void(0);" onclick="del('{$list[goods_id]}')" class="btn btn-danger" title="删除"><i class="fa fa-trash-o"></i></a>
                        <a href="javascript:void(0);" onclick="ClearGoodsHtml('{$list[goods_id]}')" class="btn btn-default" title="清除静态缓存页面"><i class="fa fa-fw fa-refresh"></i></a>
                        <a href="javascript:void(0);" onclick="ClearGoodsThumb('{$list[goods_id]}')" class="btn btn-default" title="清除缩略图缓存"><i class="glyphicon glyphicon-picture"></i></a>-->
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</form>
<div class="row">
    <div class="col-sm-3 text-left"></div>
    <div class="col-sm-9 text-right">{$page}</div>
</div>
<script>
    // 点击分页触发的事件
    $(".pagination  a").click(function(){
        cur_page = $(this).data('p');
        ajax_get_table('search-form2',cur_page);
    });

</script>